
package LuMin.file.Read;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.Scanner;

/**
 * @author lumin
 * @date 2022/05/09 19:09
 **/
public class ReadFile3 {
    public static void main(String[] args) throws IOException {
        try(InputStream is = new FileInputStream("hello.txt")) {
            Scanner sc = new Scanner(is,"UTF-8");
        }
    }
}